{{response.files.append(URL(r=request,c='static',f='jquery.dataTables.min.js'))}}
{{response.files.append(URL(r=request,c='static',f='demo_table.css'))}}
{{extend 'layout.html'}}

<table id="published_stories">

<th>Story ID</th>
<th>Title</th>
<th>Collection</th>
<th>Actions</th>
{{for story in stories:}}
<tr>
    <td><a href="{{=URL(r=request,f='view_story',args=story.id)}}">{{=story.id}}</a></td>
    <td><a href="{{=URL(r=request,f='view_story',args=story.id)}}">{{=story.title}}</a></td>

        <td><a href="{{=URL(r=request,f='view_collection',args=story.collection)}}">{{=story.collection}}</a></td>
    <td>
    </td>
</tr>
{{pass}}
</table>


